package com.wcarmon.life.vo {

 	import com.adobe.cairngorm.vo.IValueObject;
	import mx.utils.ObjectUtil;
	
	public class DoScreenVO implements IValueObject {
		include "../../includes/loggerSnippet.as";

		[Bindable]
		public var all : Array;

		[Bindable]
		public var numNextActions : uint;

		[Bindable]
		public var dueThisMonth : Array;

		[Bindable]
		public var dueThisWeek : Array;
			
		//////////////////////////////////////////////
		[Bindable]
		public var errands : Array;

		[Bindable]
		public var home : Array;

		[Bindable]
		public var work : Array;

		[Bindable]
		public var internet : Array;

		[Bindable]
		public var movies_to_buy : Array;

		[Bindable]
		public var phone : Array;

		[Bindable]
		public var school : Array;
		
		
		public function DoScreenVO() {
		}

		
		public static function makeVO( o : Object ) : DoScreenVO {

			var d : DoScreenVO = new DoScreenVO();
			
			d.numNextActions = o['numNextActions'];
			d.all = o['ALL'];
			
			d.dueThisMonth = o['dueThisMonth'];
			d.dueThisWeek = o['dueThisWeek'];
			
			d.errands = o['ERRANDS'];
			d.movies_to_buy = o['MOVIES_TO_BUY'];
			d.internet = o['INTERNET'];
			d.phone = o['PHONE'];
			d.home = o['HOME'];
			d.work = o['WORK'];
			d.school = o['SCHOOL'];
			
			return d;
		}
		
	}
}
		